Stop Apache gracefully
Solution 1:
Yes.
apachectl -k graceful-stop
https://httpd.apache.org/docs/2.4/stopping.html
Solution 2:
Use apachectl -k graceful-stop
from here:
The WINCH or graceful-stop signal causes the parent process to advise the children to exit after their current request (or to exit immediately if they're not serving anything). The parent will then remove its PidFile and cease listening on all ports. The parent will continue to run, and monitor children which are handling requests. Once all children have finalised and exited or the timeout specified by the GracefulShutdownTimeout has been reached, the parent will also exit.