Resolve closure lifetime issue.

Fix this once unboxed closure lifetimes are implemented in Rust.