Surround sendToIrc with try