Fixed pico_socket_close(...) bug when bind fails