added socket shutdown runner borrowed from Moco Maven Plugin