Fixed bottleneck in server/io

Change-Id: Ie8021d951101c31e6e5030d84f99a514e54fe690