move alarm to new thread