Convert promises to empty promises
Add more promises for synchronization.