Remoting has a new feature --noReconnectAfter after which the java process stops attempting to reconnect and exits.
This can be helpful in removing the GC periodic work DockerContainerWatchdog - to be checked for any other implications.
See how to use --noReconnectAfter from jenkinsci/kubernetes-plugin#1553