Change to allow creating of roku objects on the main thread of an android app
Closing connection once its not needed anymore