closed statements and prepareStatements inside methods in MySqlDao