Sdk/2505

endlessm/eos-sdk#2505
`monitor` can be NULL, so this needs to check for `monitor != NULL`