Should return ESRCH rather than EINVAL if a context doesn't exist