[JBTM-1980] Avoid problems with recovery manager port recycling