Bug fix of sessions.py. Add sleep function after sending data in the tra...

...nsmit function. This is because in some cases, the monitor fails to catch the failure when the process actually fails. Use sleep function to wait for the restart of the process, or sulley will fall into a deadlock.