add reconnect function
upgrade to 0.1.0