add server wait