Java: Supervising core routines