This is most likely the reason why the tests hand occasionally, because messages get picked up by the previous thread.