removing promises and using a try except block on release task exec