random-hangs: attempt to fix random hangs

Set the write pending flag, when we receive a null cl.

Attempts to fix https://github.com/pagespeed/ngx_pagespeed/issues/330 (and maybe some others that could be duplicates)