solved two issues:

1. modified server to open new tab in browser in IPython
2. Handle SIGPIPE error in server