Returning a future even if it is dereferenced by a middleware