Created a new parameter 'reconnect' to indicate if MySQLAdapter can try reconnect to server. In long time connections, timeout makes connection to drop.