Update wrappers.cpp

changed connect to return bool