scheduler: fixed unlocking of mainloop when a part of running bundle occured