closes issue #3 "recv fails with EINPROGRESS errno"