changed waitforconn docstring for callback function

Changed waitforconn docstring for callback function to take five arguments instead of one.