Use condition variable to be notified of RPC responses

Earlier version suffered from a race condition under load
that caused Bunny continuation to never unblock.