Stop maintenance from calling next() when enabled

When maintenance is enabled, it was calling the next() middleware after returning a response. This would cause other middlewares to crash express because they are trying to manipulate a response that's already been sent.