try catch
get_all_threads stored procedure