Applied workaround suggested by Chris Patterson on the topshelf-discuss google group. The service now shuts down properly.