Updated Recorder

Updated check on Socket