mplewis issue resolution

This is the issue fix from https://gist.github.com/mplewis/4779c1ab1ae2394cfef7.
It removes the client singleton pattern and instead instantiates a new client for each call.