Catch exceptions in sign thread