workaround for socket stuck in time_wait state after close (not sure why it stucked, oh well)