close server while waiting for honeybadger to send error