Fixed memory leak from usage of static function

By using the static function to setup the AMQPConnection instance was causing memory leaks as garbage collection was not happening properly when celery-php was being used in a daemon.

This commit fixes it.