fixed bug in future that was causing resources to hang around