Sometimes, tests are timing out because the Jenkins instance is not able to shutdown properly. According to the thread dump in attachment, the shutdown thread (id=3124) is trying to lock the queue to cleanup computers, however the queue is already locked by the thread removing the agent (id=2710) which is waiting for remoting (but the agent is already gone!)