put try catch around thread join to try and avoid crashing the client