Fixes #7 Periodic services.
Fixes #7 Bug with periodic services.