bugfix: reload modules is executed after successful connection, refs #44, fixes #56