added some more task callback helpers
renamed end() to close()
updated javadoc