fix dead-lock in Future when executor discards function