added revokeObjectUrl in kill method, to free resources