Fixes #40 send should work only if its state is opened