Add time out to send_sync_rpc

On branch master