more activities cleanup in taskmanager library