Close Connection and Statement after inserting