Wrap call to command handler in xpcall.