fix sql conn_pool disconnect but continue in pool bug. check the con whether available before use it