[BUGFIX] Changed CommandRegistry's behavior to work around JRuby limitat...

...ions.

# DO NOT MERGE YET

The newly added test fails because we are actually blocking on waiting for the command response. As a side effects, all tests involving Commands and Call might need review.