Use external promise library.