You loosen the holding bolt of the crank you want first and ride slowly around the vicinity. The moment you sense the crank loosening, you tighten the holding bolt, but not fully, and loosen the bolt for the other crank and repeat. All this needs to be done carefully to prevent damage to the cranks.