Daemon stops after each build

Running any gradle task with daemon not disabled, gradle starts a new daemon. During the build, gradle --status shows: #### BUSY 3.5. After the build, gradle --status shows: #### STOPPED (by user or operating system).

Building the next time, again a new daemon is started, and after the build,the daemon is stopped again.

I am starting the commands from the Eclipse IDE using a Windows Batch file. I am using gradle 3.5. Disabling --parallel or --build-cache has no effect.

The strange thing is: If I call the same batch file from a windows console just once, everything behaves just as expected from that time. Now I can run gradle tasks from Eclipse IDE as expected, an no daemon is stopped!

Any help is appreciated.