randomly pick one port for shared object manager