Merge pull request #17 from thephpjo/master

Fix for error, if no callback is given to connect