fix exception handling for when the handler task couldn't be submitted