Handle listener exceptions
Catch command handler exceptions