fixing sleep to allow troops to return before checks