Disable LocalExecutor when using Client
Set the disableLocalExecution() in ExecutionEnvironment to protected
Add comments to execution environments
Adjusted JVM garbage collection options to enable class unloading.
Disable also local environment in client submission settings.