--Connection to the master was terminated unexpectedly. You will need to reconnect in order to continue. --
This is the error which occurs every time when there is some new data material on a target - Data on Target.
 Prior to this error,  the agent disconnects. After again connecting the agent, it works until it encounters the same problem. Sometimes, this happens every minute depending on target activity.