Don't close upstream in functional handler immediately after function is finished. I may want to save upstream somewhere and send something later (for example do async read from storage and write result into upstream).