Fixed crash after node-inspector restart.

Fixed a bug where a front-end page served from an old node-inspector process
crashed the new node-inspector process after restart.

/cc @Schoonology