Resolved async issue with Q.