wrap server around the options to fix the connect task