tomerfiliba/rpyc — pull request #136 by fviard (2014-07-07 13:24:24+00:00)
Title: Fix a race condition where a reply is received before setting the callback...

... on an async request to handle it.

In such a case, rpyc would treat the early reply as if it was a reply for a sync request, and so the async request will be stuck till encountering a timeout
The callback needs to be registered before sending the request.