Make ServiceController transition work correctly for cases where service is starting or stopping.