Don't log RemoteAccessException on exit as it is an expected behavior
Removed dead code and adjusted logging levels to be less verbose