Fix: using captured in proper way to max. its life time.