Fix shutdown deadlock for ws notification queue.

While here, correct the comment on rpcServer.notificationQueue.

Closes #122.