Use sansi@% in init_db.sql
Close socket after timeout. Reconnect if necessary.