Fix client.shutdown and bump version 0.2.1