While replaying the script if you get the following error message:
Error: Vuser started transaction "logout", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.
Answer:
The Transaction logout may not be closed.