This method of the Service Class sets the time for which the assassin will wait for any state change before terminating a service.
protected void setAssassinTimeout(long ms);
ms | The time, in milliseconds, for the assassin to wait for a state change before terminating the service. |