Swap OF_SAFETY and OF_HANGING