Emit error signal during unhandled exception, too.

This is to prevent entire process from stopping in case there's
an error from one client.