An asynchronous write is pending on the stream. Ensure that there are no uncompleted asynchronous writes before attempting ...