clean up handlers
return traceback on crash