Use Monitor in sync delegator, so methods can be reentrant.
Fix tests for travis failures.