Made ast_queue_hangup() and ast_queue_hangup_with_cause() lock instead of trylock.