Adding functions to override default stomp connection timeout and attempts