reverse pause ordering

fixes race condition