Use alarm to wake up service.

Signed-off-by: vjt7312 <vjt7312@gmail.com>