ServletWriter fixed - previous implementation was not synchronized correctly