Style fixes.
Do not use defer in simple cases.

defer allocates memory.
Add timeout.
Style fix.
Simplify request body discarding.