VER 3.07

Fixed Major bug
1. Fixed leaking connection issue. Removed unnecessary creation of
connection and close connection when finished.