adding port to clean up command
moved cleanup code to forwardPort