Removed unused connection in Main.java.