adding API for setting connection and request timeout for subscribe and non subscribe api's