cancel leaves promises dangling