Catch BROKEN PIPE Error and retry current frame

Fix #24, #23
Merge pull request #25 from voyagegroup/catch_broken_pipe_error

Catch BROKEN PIPE Error and retry current frame