add response timeout handler
remove setting 'nofile' limit, setting in upstart instead
refactor metrics