Made arm_manage atomic.
Made arm_shutdown atomic.