* \return If at least one open function returned an error, all successful
* writer notes get closed and this error value is returned. Upon success, a
* task associated with \a g is registered to the scheduler and the function
* \return If at least one open function returned an error, all successful
* writer notes get closed and this error value is returned. Upon success, a
* task associated with \a g is registered to the scheduler and the function