[PATCH 0/2] remote: fix a daemon self-deadlock on the stream error path