pub fn execute(action: &Action) -> Result<()>
Execute the given action
Returns an error if the killswitch operation fails