Modification of thread executor