fixing backup manager's state cycle. changing wait to be stateless