Rebind port only when the exception is instanceof BindException