If this is not done, multiple requests can be sent leading to error: 'can't send request headers after sending to client'
If this is not done, multiple requests can be sent leading to error: 'can't send request headers after sending to client'