Tweak socket task spawning mechanism.