The use of force to prevent the escape of an arrested person from custody is justifiable when the force could justifiably have been employed to effect the arrest under which the person is in custody, except that a guard or other person authorized to act as a peace officer is justified in using any force, including deadly force, that he believes to be immediately necessary to prevent the escape of