bread: close connection after 1000 uses