added the method isAbortable
changed the signature of the method close and deleted the method interrupt