I\'m trying to rewrite promises function into async function
While my promises work
function boxColor (time) { return new Promise ((res, rej) => {