Registration http request in a seperate Thread so that it doesn't block the UI Thread