Resolves #338 rpc failure
At least it is expected to resolve the issue since when blocking on a call it will continue to process thread pool jobs that include the return value. It is assumed that the issue originally was that the thread pool got jammed up.
This merge also fixes some other initial network peer connection stability problems.