restart Shark if fail on query