add document for new parameters
don't forget call stop method for task