clean up test to work without stealing the RMI port