Make client |main| method return |nil| like all other methods

Apparently the return value is checked by client users.