disable interrupts around fork