internalServerError should be 'internal'
reset currentRequestSize
fix thread name