attempt to keep mysql connection open