Making fetchAll() to behave like fetchAllSync()