for now made abort() function same as close() function