Updated throwing of exception in comm thread