This method of the Service Class obtains the default time for which the assassin will wait for any state change before terminating a service. The time-out initially defaults to 30 seconds.
protected void getAssassinTimeout(long ms);
Returns the time, in milliseconds, that the assassin will wait for a state change before terminating the service.