Maybe using the parameterised version of `join()` method, in order to specify a time to wait?