Low: apache: Refactor apache_stop code to reduce complexity and indentation
High: apache: Attempt graceful stop before -TERM signal

Attempt graceful stop first with WINCH signal.
https://httpd.apache.org/docs/2.2/stopping.html

Resolves: rhbz#952716