Make chunked replies end with a 0 delimiter

I made nancy project on top of nowin and in my module i threw a exception. Chrome renders as a blank page because the response does not end with a 

0\r\n
\r\n

Not sure if this is a good solution but can hopefully give you some pointers to what the problem is.