Undocking preemption bug solved.