exit in swing kills sbt