Fix NPE if session is not ready (Slow MySQL Server)