Java Port Binding: Port not closing properly.