close abstract method Null safety

Future close()

Closes the executor and reject tasks.

Implementation

Future close();