Cleaned up FIN usage.

Fixes a bug when handling WSGI traffic.