changed timing for when to stop the service

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>