Fixed bug in resuming locked fibers, cleanup