Fix example using mypool instead of pool