Fix KeepAlive test (quesry after the first one should be at least 2 times faster)
Fixed performance bug with multi_exec