TimerTask thread in IS

Hello,

is it ok to spawn my own TimerTask (background thread) in the IS Java Service? Or its not recommended.

Thanks