fix(client): redirect to redirect_url after all messages are sent