Fixed server idle time parameter.
Added todo comments.