Open Agent closes in the middle of executing tests. Error while communicating with the Open Agent because the Open Agent was shut down

When I run a keyword driven test the execution will go smoothly for a number of steps but then the open Agent automatically will shutdown. Can someone kindly help me with this issue please?