example of detach and future for asynchronous request processing
fixed detach usage to work asynchronously