remove close method calls as it terminates the connection to Asterisk