waiting 5 seconds for the directory to be deleted in Server.Runner