[refactoring] started to flush out server process