Make socket main loop priority configurable.