Restore nock after a test block finished