Disabling idle thread and shutdown hook, to hopefully get rid of randomly failing tests