Alternate is to use socket.SocketIO class instead of _fileobject, verifying if it will cause any regression.
Alternate is to use socket.SocketIO class instead of _fileobject, verifying if it will cause any regression.