fix #172--throw error message when connected operations are attempted after client has been released