[event] fix research and out flag
[event] fix poll timeout when you don't have timer
[event] manage disconnection
[string] fix expand compute