Fix to threadIRC passive crash

Try Catch Added