Batch waiting writes on relay socket.