Catch application exception in tomcat starter thread and rethrow

Fixes gh-1088