Ensuring restart works, and that the pidfile is zapped more regularly on a crash.
Timeout is presently bugged.  Will need to investigate this more fully. Otherwise, commented out temporarily.
Added some more debug statements.
Connect command is now firing and successfully determines incoming username and password.