Changed the timeout for the WebClient class to 10s, as the default timeout (100s) was too long.
The StartSession and CloseSession methods now internally executes on a background thread so as not to block the main thread.