[Client] Stopping movement if a invalid path is generated