Separate request options

Seperate the request options in the async request function,
then pass these down to future-callback rather than the
entire list of options.
(TK-27) Add test for sync client close

Add test to make sure that a sync client is closed properly.