Automatically change monitor port when unavailable.