fix deadlock in ManagingFS initialization (PY-1215)