parser: fix return on {Close,Parse}Config

Signed-off-by: Alberto Corona <alberto@0x1a.us>