Using static flag to prevent re-checking/re-setting JMS baseurl

Fixes https://www.pivotaltracker.com/story/show/80735796