stop codec, making socket in progress