Code cleanup.
Added response to keep clients from hanging.