permanent connection support added