Fixed deadlock on parse.com query