try increasing wait_timeout