Since "on start" is fired before an automatic connection, you can use this command inside your event:
  • .timer 1 0 if ($status == connecting) disconnect