The main thread is no longer terminated in case of timeout