Resolved issue where new web app connections would fail after initial connection, fixes #15