maqc1

Results 2 issues of maqc1

REOPENED FROM #3344 ### Pull Request Prelude - [x] I have followed [proper Hercules code styling][code]. - [x] I have read and understood the [contribution guidelines][cont] before making this PR....

**Describe the bug** I just updated to the latest revision and everything works fine, no errors whatsoever. But when I stop hercules with ./athena-start stop, the map-server goes to "sleep"...