Fix logger message.
Catch unexpected errors.
Refactoring log format.
Fix bug with exit client jvm.