anchor.diff:              State = #state{console = _C}) ->
       lager:warning("[console:~s] Exited with status ~p but vm in stopped.",
                     [State#state.uuid, PosixCode]),
  +    tick(),
       check(),
       {next_state, stopped, State#state{console = undefined}};
   
  
positive.code:             State = #state{console = _C}) ->
      lager:warning("[console:~s] Exited with status ~p but vm in stopped.",
                    [State#state.uuid, PosixCode]),
      check(),
      {next_state, stopped, State#state{console = undefined}};
  
  
negative.code:             tick(),
              {next_state, stopped, State}
      after
          1500 ->
              lager:info("[zlogin:~s] connected.", [UUID]),
              remove_lock(UUID),
              State1  = State#state{console = ConsolePort},
  