Reinitialize context when relay closes connection

Fixes #73
Merge pull request #169 from cormier/fix-73

Reinitialize context when relay closes connection